#include <iostream>

namespace ns1 {
	void func(void) {
		std::cout << "ns1::func" << std::endl;
	}
}

namespace ns2 {
	void func(void) {
		std::cout << "ns2::func" << std::endl;
	}
}
int main (void)
{
	//func(); error
	ns1::func(); 
	ns2::func();
	return 0;
}
